﻿using Modules.System;

namespace ManagementApi.Models
{
    /// <summary>
    /// Vue使用的树形
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class VueTree<T> : LabelValue<T>
    {
        public object Id { get; set; }

        public string Icon { get; set; }
        public bool Lazy { get; set; } = false;
        public bool leaf { get; set; } = false;
        /// <summary>
        /// 子节点
        /// </summary>
        public IEnumerable<VueTree<T>> Children { get; set; } = new List<VueTree<T>>();
    }
}
